package com.tgy.helloworld.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/***
 * @ClassName: TestYmlMap
 * @Description:
 * @Auther: tanggy3
 * @Date: 17:12 2022/5/26
 * @version : V1.0
 */
@Configuration
@ConfigurationProperties(prefix = "tgy.test")
@Data
public class TestYmlMap {
    private String string;
    private Map<String, String> map;
}
